/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       mana_source.h

	$Header: /game/mana_source.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef MANA_SOURCE_H_INCLUDED
#define MANA_SOURCE_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "stationary_adventure_object.h"

// ------------------------------------------------------------------
// various wells which recharge mana
// ------------------------------------------------------------------
class t_mana_source : public t_stationary_adventure_object
{
public:
	t_mana_source( std::string const& model_name );
	virtual void        activate_trigger( t_army* army, t_adv_map_point const& point, 
		                                  t_direction direction, t_adventure_frame* frame );
	int                 get_charge_rate() const;
	virtual std::string get_balloon_help() const;
	virtual void		right_click( t_mouse_event const& event,
								     t_adventure_frame* adventure_frame );
protected:

	std::string replace_text( std::string const& text ) const;

	bool benefits( t_army* army ) const;
};

#endif // MANA_SOURCE_H_INCLUDED